package com.bdqn.zhang.service;

import com.bdqn.zhang.entity.Category;
import com.bdqn.zhang.entity.Entry;

import java.util.List;

/**
 * 
 * @param null
 * @return 
 * @author zhangtao
 * @creed: Talk is cheap,show me the code
 * @date 2019/3/27 17:43
 */
public interface EntryService {

    void addEntry(Entry entry);

    void delEntry(Integer id);

    void updateEntry(Entry entry);

    Entry findEntry(Entry entry);

    List<Entry> findAllEntries(Long cId, Integer page, Integer limit);

    Long getEntryCount(Long cId);

    List<Category> getCategory();
}
